Check access denied when register sync root#1271
Merged
dajimenezriv-internxt merged 11 commits intomainfrom Feb 10, 2026
Merged
Check access denied when register sync root#1271dajimenezriv-internxt merged 11 commits intomainfrom
dajimenezriv-internxt merged 11 commits intomainfrom
Conversation
sg-gs
previously approved these changes
Feb 9, 2026
The base branch was changed.
|
Contributor
Author
|
Can you check it again @sg-gs? The review was dismissed when merged the previous PR. |
sg-gs
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Ticket https://inxt.atlassian.net/browse/PB-5823.
This is the second of 2 PRs to solve the ticket from above. Basically some users are getting an
ACCESS DENIEDerror when trying to register the sync root. I've been able to replicate part of the issue and it happens when you try to register a path for a cloud provider that is already registered with anothersyncRootId. However, the problem with these users is that when we iterate all registered cloud providers this old sync root doesn't appear, so I'm not pretty sure ifACCESS DENIEDcan appear because other reasons (and the microsoft documentation is helpless).So, we are going to create a new function in C++ that brings the sync root info of the registered cloud provider. In case it exists and we receive an
ACCESS DENIEDwe are going to try to unregister using the oldsyncRootIdand register again.